<template>
	<view class="itu-demo">
		<view class="itu-demo-wrap">
			<view class="itu-demo-title">演示效果</view>
			<view class="itu-demo-area">
				<view class="itu-demo-result-line">
					<itu-vcode :second="second" v-model="isStart" fontSize="26rpx" @send="handleSend"></itu-vcode>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				current: 0,
				isStart: false,
				second: 20
			}
		},
		onLoad({
			title
		}) {
			this.setNavigationBarTitle(title)
		},
		methods: {
			handleSend(val) {
				this.isStart = val
			}
		}
	}
</script>
